﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SMapSharp extends Object
    {
        public var sharpId:int;
        public var points:Array;
        public var type:EMapPointType;

        public function SMapSharp()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.sharpId);
            SeqPointHelper.write(param1, this.points);
            this.type.__write(param1);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.sharpId = param1.readInt();
            this.points = SeqPointHelper.read(param1);
            this.type = EMapPointType.__read(param1);
            return;
        }// end function

    }
}
